import request from '@/utils/request'
import download from "@/utils/downloader.js";

//试题分页列表
export function topicErrorList(data) {
	return request({
		url: '/teacher/topicError/topicErrorList',
		method: 'get',
		params: data
	})
}
//删除试题
export function removeTopicError(data) {
	return request({
		url: '/teacher/topicError/removeTopicError',
		method: 'delete',
		params: data
	})
}
//查询试题详情
export function selectTopicErrorDetail(data) {
	return request({
		url: '/teacher/topicError/selectTopicErrorDetail',
		method: 'get',
		params: data
	})
}

//试题导出	
export function topicErrorExport(data) {
	return download({
		url: '/teacher/topicError/topicErrorExport',
		method: 'get',
		params: data
	})
}



